addDoneButton
fun addDoneButton(pressAction: ButtonWidget.PressAction = ButtonWidget.PressAction{ pop() }, parent: String? = null, spacingH: Int = 4): PopupWidget.Builder
Deprecated
Use addDoneWidget instead
Adds a "Done" button below the previously added element, or below the defined parent
The button automatically uses the layout BELOW, ALIGN_JUSTIFY
Return
Builder - this builder for further use
Author
fzzyhmstrs
Since
0.2.0
Parameters
pressAction
ButtonWidget.PressAction - defines the buttons action when clicked
parent
String, optional. defines the parent element for this button. by default (null), will be the previously added element.